package com.sherlochao.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sherlochao.dao.ShareTalkDao;
import com.sherlochao.model.ShareTalk;
import com.sherlochao.service.ShareTalkService;


@Transactional
@Service("shareTalkService")
public class ShareTalkServiceImpl implements ShareTalkService{
	
	@Resource
	private ShareTalkDao shareTalkDao;

	@Override
	public ShareTalk get(String id) {
		return shareTalkDao.get(id);
	}

	@Override
	public String save(ShareTalk entity) {
		return shareTalkDao.save(entity);
	}

	@Override
	public void delete(String id) {
		shareTalkDao.delete(id);
	}
	

}
